
<html>

<title>Second Test of Section 5.4.8 of CSS1 Spec</title>

<style type="text/css">
body {font-size: 10pt}
p {line-height:}
h3 {line-height: 1.2}
h4 {line-height: 2.4}
strong {line-height: 1.2em}
blockquote {line-height: 120%}
</style>
</head>



<body>




<h1 >Testing Statement #2 Below of Section 5.4.8 of CSS1 Spec</h1>






<ul>
<li>
2. For "line-height", initial is "normal", it applies to all elements, it is
inherited, and percentage values are relative to the font size of the element
itself.
</ul>



<h2>
PASS CRITERIA:
</h2>
<p>
If statement #2 above is passed, this paragraph should have a line height
of normal.
The rule applied is "p {line-height: }".
So the line-height property applies to the "p" element.
<h3>
This h3 element should have a line height of 1.2;
<em>
This emphasized text should have a line height of 1.2, since the 
line height property is inherited, and "em" is a child of 'h3".
No explicit rule is applied for "em".
</em>
THe rule applied is 'h3 {line-height: 1.2}".
So the line height property applies to em and h3.
</h3>
<h4>
THis h4 element should have a line height which is 2.4.
The rule applied is "line-height: 2.4".
So the line height property applies to h4.
</h4>

<strong>
This strong text should have a line height of 1.2em
; so the line height property applies
to the strong element.
The rule applied is "strong {line height: 1.2em}".
</strong>
<blockquote>
This blockquote element should have a line height 120% of the
element font size.
The rule applied is "blockquote {line-height: 200%}", which should be
applied to the 10pt body element font size.
</blockquote>
THe other rule applied above is "body {font-size: 10pt}".
All other properties of this page should be UA-default.

All other properties of this page should be UA-default.



To move directly to the next test, click<a href="548-3.htm"> here</a>


</body>
</html>
